﻿using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using huimei;

namespace huimei.Migrations.Mei
{
    [DbContext(typeof(MeiContext))]
    partial class MeiContextModelSnapshot : ModelSnapshot
    {
        protected override void BuildModel(ModelBuilder modelBuilder)
        {
            modelBuilder
                .HasAnnotation("ProductVersion", "1.1.1")
                .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);

            modelBuilder.Entity("huimei.Meimodel", b =>
                {
                    b.Property<int>("id");

                    b.Property<string>("info");

                    b.Property<string>("name");

                    b.Property<string>("picurl");

                    b.HasKey("id");

                    b.ToTable("mei");
                });
        }
    }
}
